/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.equipment.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.equipment.entity.EleEquipment;
import com.thinkgem.jeesite.modules.equipment.entity.EleEquipmentCommand;
import com.thinkgem.jeesite.modules.publish.entity.EleSourceGroupPublish;
import com.thinkgem.jeesite.modules.publish.entity.EleTempletPublish;

/**
 * 日志命令DAO接口
 * @author unnamed
 * @version 2017-07-05
 */
@MyBatisDao
public interface EleEquipmentCommandDao extends CrudDao<EleEquipmentCommand> {
    List<EleEquipmentCommand> findListByEquipmentId(@Param("equipmentId")String equipmentId,@Param("status")String status,@Param("type")String type);
    List<EleEquipmentCommand> findListByEquipments(@Param("list")List<EleEquipment> list,@Param("status")String status);
    void batchDelete(@Param("list")List<EleEquipmentCommand> list,@Param("status")String status);
}